.editor-container {
    background-color: var(--el-fill-color);
    .el-header {
        padding: 0;
        margin-bottom: 2px;
    }
    .editor-header {
        height: 100%;
        margin-bottom: 2px;
        padding: 8px 20px;
        background-color: var(--el-bg-color);

        .editor-header-github {
            cursor: pointer;
            font-size: 15px;
        }
    }
    .main-container {
        height: calc(100vh - 50px);
    }
    .panel-container {
        height: 100%;
        background-color: var(--el-bg-color);
        box-shadow: 4px 6px 6px 0 rgba(31, 50, 88, 0.08);

        .el-tabs__content {
            flex: 1;
            .el-tab-pane {
                height: 100%;
            }
        }
    }
    .setting-panel {
        width: 300px;
        flex-shrink: 0;
        .panel-item {
            width: 73px;
            text-align: center;
        }
        .el-form-item {
            padding-left: 12px;
            padding-right: 12px;
            margin-bottom: 12px;
        }
        .el-collapse {
            .el-collapse-item__header {
                padding: 0 12px;
            }
            .el-collapse-item__content {
                padding: 12px;
            }
        }
        .el-radio {
            margin-right: 7px;
        }
    }

    .base-widget-container {
        height: 100%;
        .base-widget-input {
            margin: 0 18px 12px;
        }
        .el-collapse-item__content {
            padding-bottom: 0;
        }
        .drag-list {
            display: grid;
            box-sizing: border-box;
            margin: 5px;
            grid-template-columns: repeat(3, 1fr);
            border-top: 1px solid var(--el-border-color);
            border-left: 1px solid var(--el-border-color);
            .components-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                color: var(--el-text-color-regular);
                height: 75px;
                font-size: 13px;
                border-right: 1px solid var(--el-border-color);
                border-bottom: 1px solid var(--el-border-color);
                transition: background-color var(--el-transition-duration);
                cursor: move;
                &:hover {
                    background-color: var(--el-border-color-extra-light);
                    color: var(--el-color-primary);
                }
            }
        }
    }
    .form-widget-container {
        background-color: var(--el-bg-color);
        height: 100%;
        box-shadow: 0 1px 4px 0 rgba(31, 50, 88, 0.125);
        .element-item {
            min-height: 40px;
            box-sizing: border-box;
            padding: 5px 10px;
            position: relative;
            &.el-form-item {
                margin-bottom: 0;
            }
            & + .el-form-item {
                margin-top: 10px;
            }

            &::after {
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                content: "";
                z-index: 10;
            }

            &.is-end {
                &:hover {
                    &::after {
                        border: 1px dashed var(--el-color-primary);
                        background: rgba(32, 93, 217, 0.05);
                    }
                }
            }
            &.active {
                padding-bottom: 25px;
                &::after {
                    border: 2px solid var(--el-color-primary) !important;
                    background: rgba(32, 93, 217, 0.05);
                }
            }
            .toolbar-box {
                position: absolute;
                right: -10px;
                bottom: -25px;
                height: 24px;
                line-height: 24px;
                z-index: 11;
                padding: 0 4px;
                background-color: var(--el-color-primary);
                color: #fff;

                .toolbar-label {
                    font-size: 14px;
                    position: relative;
                    margin-right: 19px;
                    min-width: 25px;
                    &::after {
                        color: #fff;
                        content: "|";
                        height: 30px;
                        right: -8px;
                        opacity: 0.8;
                        position: absolute;
                        top: -1px;
                        width: 1px;
                    }
                }
                .toolbar-icon + .toolbar-icon {
                    margin-left: 10px;
                }
            }
            &.inline-element > .toolbar-box {
                right: unset;
                left: 0;
                bottom: 0;
            }
        }

        .drag-ghost {
            position: relative;
            display: flex;
            align-items: center;
            opacity: 0.7;
            .components-item-icon {
                margin-right: 5px;
            }
            &::before {
                content: " ";
                position: absolute;
                left: -20px;
                right: -20px;
                top: -5px;
                height: 3px;
                background: var(--el-color-primary);
                z-index: 2;
            }
        }

        .wrapper-empty {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 14px;
            letter-spacing: 1.3px;
            color: var(--el-color-primary-light-3);
            z-index: -1;
        }
    }
}
